<template>
    <div>
        foo <button @click="echo">{{msg}}</button>
    </div>
</template>

<script>
export default {
    name: 'foo',
    props: {
        msg: {
            type: String,
            default: 'hello storybook'
        }
    },
    methods: {
        echo () {
            console.log(this.msg)
        }
    }
}
</script>

<style>

</style>
